package com.haredot.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.haredot.dto.AlipayDTO;
import com.haredot.entity.Order;
import com.haredot.vo.R;

import java.util.Map;

public interface AlipayService extends IService<Order> {

    R<?> generatorPayPage(Long aLong, Long userId) throws Exception;

    R<?> checkParam(Map<String, String> params) throws Exception;

    R<?> payOrder(String orderNum) throws Exception;

    R<?> authCodeToToken(AlipayDTO alipayDTO) throws Exception;

    R<?> checkOrder(String orderNum) throws Exception ;
}
